package config

type Config struct {
	Mysql 	Mysql
	Tcp 	Tcp
}
//mysql数据库配置
type Mysql struct {
	Host 		string	`yaml:"host"`
	Port 		string	`yaml:"port"`
	Network 	string	`yaml:"network"`
	Username 	string	`yaml:"username"`
	Password 	string	`yaml:"password"`
	Database 	string	`yaml:"database"`
}
//tcp监听地址
type Tcp struct {
	Network string `yaml:"network"`
	Address string `yaml:"address"`
	Port 	string `yaml:"port"`
}